package edu.sctu.zhuyingzhi.month201505.day20150527.studentToEatTest;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by user13 on 2015/5/27.
 */
public class Time {

    public String getTime(){
        Date date = new Date();
        DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String time = format.format(date);
        return time;
    }
}
